#import "UIView+Shadow.h"
@implementation UIView (Shadow)
-(void)skSetShadowWithColor:(UIColor *)color{
    self.layer.shadowColor = color.CGColor;
    self.layer.shadowOffset = CGSizeMake(0, 0);
    self.layer.shadowOpacity = 0.5;
    self.layer.shadowRadius = 5.0;
}
-(void)skSetShadowWithColor:(UIColor *)color
                andSizeMake:(CGSize)offSet
                     Radius:(CGFloat)Radius{
    self.layer.shadowColor = color.CGColor;
    self.layer.shadowOffset = offSet;
    self.layer.shadowOpacity = 0.5;
    self.layer.shadowRadius = 5.0;
    self.layer.cornerRadius=Radius;
}
@end
